<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>买什么</title>
    <script>
        let number=prompt("请输入您的资金");
            while (1){
                if (isNaN(number)){
                    alert("请输入数字");
                    returnValue;
                }else {
                    if (number>=10000){
                        alert("买LV")
                        returnValue;
                    } else {
                        if (number>=5000&&number<10000){
                            alert("买香奈儿")
                            returnValue;
                        } else {
                            if (number>=3000&&number<5000){
                                alert("买鞋吧")
                                break;
                            } else {
                                alert("不买了")
                            }
                        }
                    }
                }
            }

    </script>
</head>
<body>

</body>
</html>